package com.hs.cosid;

import me.ahoo.cosid.spring.boot.starter.machine.MachineProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * @Description: 主启动类
 * @Author 胡尚
 * @Date: 2024/8/6 15:12
 */
@SpringBootApplication
//这两个注解应该放到框架里面去声明的。
@EnableConfigurationProperties({MachineProperties.class})
@ComponentScans(value = {@ComponentScan("me.ahoo.cosid")})
public class CosIdApplication {
    public static void main(String[] args) {
        SpringApplication.run(CosIdApplication.class,args);
    }
}
